home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / blink.z / blink
Encoding:
Text File  |  2002-10-03  |  3.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4. bbbblllliiiinnnnkkkk((((3333GGGG))))                                                            bbbblllliiiinnnnkkkk((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      bbbblllliiiinnnnkkkk - changes a color map entry at a selectable rate
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee bbbblllliiiinnnnkkkk((((rrrraaaatttteeee,,,, iiii,,,, rrrreeeedddd,,,, ggggrrrreeeeeeeennnn,,,, bbbblllluuuueeee))))
  13.      iiiinnnntttteeeeggggeeeerrrr****4444 rrrraaaatttteeee,,,, iiii,,,, rrrreeeedddd,,,, ggggrrrreeeeeeeennnn,,,, bbbblllluuuueeee
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _r_a_t_e    expects the number of vertical retraces per blink.  On the
  17.              standard monitor, there are 60 vertical retraces per second.
  18.  
  19.      _i       expects an index into the current color map.  The color defined
  20.              at that index is the color that is blinked (alternated).
  21.  
  22.      _r_e_d     expects the red value of the alternate color that blinks against
  23.              the color selected from the color map by the _i parameter.
  24.  
  25.      _g_r_e_e_n   expects the green value of the alternate color that blinks
  26.              against the color selected from the color map by the _i parameter.
  27.  
  28.      _b_l_u_e    expects the blue value of the alternate color that blinks against
  29.              the color selected from the color map by the _i parameter.
  30.  
  31. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  32.      bbbblllliiiinnnnkkkk alternates the color located at index _i in the current color map
  33.      with the color defined by the parameters _r_e_d, _g_r_e_e_n, and _b_l_u_e. The rate
  34.      at which the two colors are alternated is set by the _r_a_t_e parameter. The
  35.      maximum number of color map entries that can be blinking simultaneously
  36.      on a screen is returned by the ggggeeeettttggggddddeeee inquiry GBNBLI.
  37.  
  38.      The length of time between retraces varies according to the monitor used.
  39.      On the standard monitor, there are 60 retraces per second, so a _r_a_t_e of
  40.      60 would cause the color to change once every second.
  41.  
  42.      To terminate blinking and restore the original color for a single color
  43.      map entry, call bbbblllliiiinnnnkkkk for that entry with _r_a_t_e set to 0.
  44.  
  45.      To terminate all blinking colors simultaneously, call bbbblllliiiinnnnkkkk with _r_a_t_e set
  46.      to -1.  When _r_a_t_e is -1, the other parameters are ignored.
  47.  
  48. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  49.      getgde, mapcol
  50.  
  51. NNNNOOOOTTTTEEEESSSS
  52.      This routine is available only in immediate mode.
  53.  
  54. BBBBUUUUGGGGSSSS
  55.      bbbblllliiiinnnnkkkk always operates on the colormap of the normal framebuffer,
  56.      regardless of the current drawmode.  It is not possible to blink overlay
  57.      or underlay colors.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.